package com.cooba.bean;

import java.util.List;

/**
 * 广告统计分析
 * Created by Administrator on 2016/5/26.
 */
public class BannerStatistic {
    private String msg;
    private String status;
    private List<BannerInfo> statisticsList;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public List<BannerInfo> getStatisticsList() {
        return statisticsList;
    }

    public void setStatisticsList(List<BannerInfo> statisticsList) {
        this.statisticsList = statisticsList;
    }

    public static class BannerInfo {
        private String mac;
        private String ip;
        private String clientOs;   //Android
        private String clientType;//客户端版本
        private String loginId;
        private String userName;
        private String netType;    //是否车载 0车载 1非车载
        private String xLine;
        private String yLine;
        private String happenTime;
        private String platform;
        private String bannerId;
        private String name;
        private String path;
        private String payType;
        private String eventType;//1轮播展示 0点击展示

        public String getMac() {
            return mac;
        }

        public void setMac(String mac) {
            this.mac = mac;
        }

        public String getIp() {
            return ip;
        }

        public void setIp(String ip) {
            this.ip = ip;
        }

        public String getClientOs() {
            return clientOs;
        }

        public void setClientOs(String clientOs) {
            this.clientOs = clientOs;
        }

        public String getClientType() {
            return clientType;
        }

        public void setClientType(String clientType) {
            this.clientType = clientType;
        }

        public String getLoginId() {
            return loginId;
        }

        public void setLoginId(String loginId) {
            this.loginId = loginId;
        }

        public String getUserName() {
            return userName;
        }

        public void setUserName(String userName) {
            this.userName = userName;
        }

        public String getNetType() {
            return netType;
        }

        public void setNetType(String netType) {
            this.netType = netType;
        }

        public String getxLine() {
            return xLine;
        }

        public void setxLine(String xLine) {
            this.xLine = xLine;
        }

        public String getyLine() {
            return yLine;
        }

        public void setyLine(String yLine) {
            this.yLine = yLine;
        }

        public String getHappenTime() {
            return happenTime;
        }

        public void setHappenTime(String happenTime) {
            this.happenTime = happenTime;
        }

        public String getPlatform() {
            return platform;
        }

        public void setPlatform(String platform) {
            this.platform = platform;
        }

        public String getBannerId() {
            return bannerId;
        }

        public void setBannerId(String bannerId) {
            this.bannerId = bannerId;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getPath() {
            return path;
        }

        public void setPath(String path) {
            this.path = path;
        }

        public String getPayType() {
            return payType;
        }

        public void setPayType(String payType) {
            this.payType = payType;
        }

        public String getEventType() {
            return eventType;
        }

        public void setEventType(String eventType) {
            this.eventType = eventType;
        }

        @Override
        public boolean equals(Object o) {
            if (o != null && o instanceof BannerInfo) {
                return this.getBannerId().equals(((BannerInfo) o).getBannerId());
            }
            return false;
        }
    }

}
